﻿webpackJsonp([10], {
    129: function (n, e) {
    }, 15: function (n, e, t) {
        (function (e) {
            function i(n) {
                n && n.params && e.extend(c, n.params), a({
                    url: o,
                    type: n.type,
                    data: c,
                    beforeSend: n.beforeSend,
                    callback: n.callback
                });
            }

            var a = t(2), o = '/common/user', c = {type: ''};
            n.exports = i;
        }).call(e, t(0));
    }, 20: function (n, e, t) {
        (function (e) {
            function i(n, t) {
                var i = 'layerTip' + (+new Date).toString() + Math.floor(1e4 * Math.random()).toString();
                e('body').append(a({id: i, loading: !1, info: n}));
                var o = e('#' + i);
                o.on('touchmove', function (n) {
                    n.preventDefault();
                }), o.on('tap', function (n) {
                    n.preventDefault(), n.stopPropagation(), e(this).remove(), t && e.isFunction(t) && t();
                }), setTimeout(function () {
                    o.length && (o.remove(), t && e.isFunction(t) && t());
                }, 1e3);
            }

            var a = t(22);
            n.exports = i;
        }).call(e, t(0));
    }, 22: function (n, e, t) {
        n.exports = function (n) {
            var e = '<section class="layer-tip" id="' + n.id + '"> <div class="tip-body"> ';
            return n.loading && (e += ' <img class="loading" src="' + t(26) + '" /> '), e += ' <div class="info">' + n.info + '</div> </div></section>';
        };
    }, 25: function (n, e) {
        n.exports = function (n) {
            return '<div class="page-loading" id="page-loading"> <svg width="48" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg"> <g fill="#d9d9d9"> <circle cx="8" cy="10" r="3"> <animate id="a" attributeName="r" values="7;3;3;3;7" dur="2s" calcMode="paced" repeatCount="indefinite" /> </circle> <circle cx="24" cy="10" r="3"> <animate id="a" attributeName="r" values="3;7;3;7;3" dur="2s" calcMode="paced" repeatCount="indefinite" /> </circle> <circle cx="40" cy="10" r="3"> <animate id="a" attributeName="r" values="3;3;7;3;3" dur="2s" calcMode="paced" repeatCount="indefinite" /> </circle> </g> </svg></div>';
        };
    }, 255: function (n, e, t) {
        (function (n) {
            t(129), t(1), t(11), t(7);
            var e = (t(12), t(3), t(15)), i = t(20), a = t(25);
            n(function () {
                var t = n('body'), o = n('#portrait'), c = n('#nickname'), r = n('#phone');
                e({
                    params: {type: 'info'}, beforeSend: function () {
                        t.append(a());
                    }, callback: function (e, t) {
                        // if ('success' === e) {
                            n('#page-loading').remove();
                            var a = new Image;
                            a.src = t.pictureUrl, a.onload = function () {
                                o.find('.picture').css({backgroundImage: 'url("' + this.src + '")'});
                            }, c.attr('href', 'user-update-nickname.html?name=' + t.name), c.find('.txt').text(t.name), r.find('.txt').text(t.phone);
                        // } else i('登录超时，请重新登录', function () {
                            // window.location.href = 'login.html';
                        // });
                    }
                });
            });
        }).call(e, t(0));
    }, 26: function (n, e, t) {
        n.exports = t.p + 'static/img/loading.gif';
    }
}, [255]);